﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using core;

namespace comix
{

    public class Device: SiteItemSingle, ISiteItemMember
    {
        public int usrid;
        public string device;
        public DateTime activation;

        public Device()
        {
            
        }

       
        public void FillMember(System.Data.SqlClient.SqlDataReader rdr)
        {
            usrid = (int)rdr["usr_id"];
            device = rdr["usr_device"].ToString();
            activation = (DateTime)rdr["usr_activation"];
        }



        public override void DoFill(System.Data.SqlClient.SqlDataReader rdr)
        {
            FillMember(rdr);
        }

        public override void SetSelectParameters()
        {
            
        }
    }
}